package com.jluzh10.learning.dao;

import com.jluzh10.learning.domain.UsersStudy;
import com.jluzh10.learning.domain.UsersStudyExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UsersStudyMapper {
    long countByExample(UsersStudyExample example);

    int deleteByExample(UsersStudyExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UsersStudy record);

    int insertSelective(UsersStudy record);

    List<UsersStudy> selectByExample(UsersStudyExample example);

    UsersStudy selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") UsersStudy record, @Param("example") UsersStudyExample example);

    int updateByExample(@Param("record") UsersStudy record, @Param("example") UsersStudyExample example);

    int updateByPrimaryKeySelective(UsersStudy record);

    int updateByPrimaryKey(UsersStudy record);
}